package org.cug.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.cug.pojo.CourseDesign;


import java.util.List;

@Mapper
public interface CoursedesignMapper {
    List<CourseDesign> list(@Param("ids") List<Integer> ids, Short semester);

    void insert(CourseDesign coursedesign);

    void delete(List<Integer> ids);

    CourseDesign selectid(Integer id);

    void update(CourseDesign coursedesign);

    List<CourseDesign> listall(Short semester);
}
